<template>
  <div id="app">
    <keep-alive>
      <router-view class="1" v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view class="2" v-if="!$route.meta.keepAlive"></router-view>
  </div>
</template>

<script>
export default {
  name: 'App'
};
</script>

<style lang="less">
  @import './assets/styles/index.less';
  #app {

  }
</style>
